﻿@model Zatify.WebUI.Models.BillingTransactionDetailsViewModel
@{
    ViewBag.Title = "Transaction Details";
    ViewBag.Title = "Transaction Details";
    Layout = "~/Views/Shared/_ContentLayout.cshtml";
}
@section Styles
{
    <style type="text/css">
        .inner_container
        {
            float: none;
        }
    </style>
}
<div class="business_interface_area">
    <div style="position: relative;" class="business_profile_categories">
        <table cellspacing="0" cellpadding="0" border="0" class="promotion_tabe">
            <tbody>
                <tr>
                    <td width="200">
                        <span>Date:</span>
                    </td>
                    <td width="490">
                        @Model.Date.ToString("MM/dd/yyyy hh:mm tt")
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>Type:</span>
                    </td>
                    <td>
                        @*Account Daily Charge (Debit)*@
                        @Model.Type
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>Amount</span>
                    </td>
                    <td>
                        $@Model.Amount.ToString("0.00")
                    </td>
                </tr>
                @if (!Model.IsCredit)
                {
                    <tr>
                        <td>
                            <span>Pushes</span>
                        </td>
                        <td>
                            @Model.Pushes
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>Rate</span>
                        </td>
                        <td>
                            $@Model.RatePerPush per push
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>Flat Fee</span>
                        </td>
                        <td>
                            @(!String.IsNullOrWhiteSpace(Model.FlatFee) ? Model.FlatFee : "N/A")
                        </td>
                    </tr>
                }
                else
                {
                    <tr>
                        <td>
                            <span>Confirmation No:</span>
                        </td>
                        <td>
                            @Model.ConfirmationNo
                        </td>
                    </tr>
                }
                <tr>
                    <td>
                        <span>Promotion:</span>
                    </td>
                    <td>
                        @*10/03/2012 <span>&nbsp;&nbsp;</span> 25% off event*@
                        @Model.PromotionName
                    </td>
                </tr>
            </tbody>
        </table>
        <a href="@Url.Action("TransactionHistory", "Billing")">
            <input type="submit" value="Billing" class="blue_btn" style="margin-left: 0px;" /></a>
    </div>
    <div class="clearfix">
    </div>
</div>
